; (function () {

let myChart = echarts.init(document.querySelector('.quan2'))

let option = {

    // 加水印
graphic:[		       	       
 {
 type: 'text',              
 top: '35%',           
 left: '35%',          
 style: {
     text: '532',      
     fill: '#fff',     
     color: '#fff',      
     fontSize: 12,      
     fontWeight: 'bold'
 }  		      		        
},{
 type: 'text',              
 top: '55%',           
 left: '25%',          
 style: {
     text: '占比36%',      
     fill: '#A6A8B6',       
     fontSize: 10,          
     fontWeight: 'normal'
 }  		      		        
}, 
],
  series: [
    {
      type: 'pie',
    //   radius: '50%',
      radius: [35, 40],
      label: {
        show: false
     },
     startAngle: 200,
      data: [
          {
              value: 64,
              itemStyle: {
                  color: '#333843'
              }
            },
            {
                value: 36,
                itemStyle: {
                    color: '#6abaf2'
                }
            },
      ]
    }
  ]
};

myChart.setOption(option)
})()